// pages/user/user.js
const app = getApp()


Page({
  data: {
    name: '点击登录',
    userPhoto: '../../images/tabbar/我的.png',
    //登录状态
    logged: true,
    disabled: true,
    detail: {},
    // 班级
    class:'',
    // 头像
    head:'',
    // 学号
    id:'',
    // 身体状况
    condition:'',
    // 院系
    departments:'',
    // 年级
    time:''
},

goLogin() {
    if (!this.data.hasLogin) {
      wx.navigateTo({
        url: "/pages/auth/login/login"
      });
    }
  },

})